forum

home / developersection / forums / wpf datagrid column width

WPF DataGrid Column Width

Anonymous User 3148 03-Sep-2013

I have a DataGrid in WPF with 3 columns. I would like these columns to take up all the space available in the grid. So for example:

Column 1 takes 40% of the grid's width Column 2 takes 30% of the grid's width Column 3 takes 30% of the grid's width

Such that even when resizing the window or grid the columns width resizes accordingly. Anyway I can achieve this.

Thanks in Advance.


wpf wpf 
Updated on 03-Sep-2013

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By